package com.dly.blog.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.dly.blog.meta.MetaObject;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = true)
@TableName(value = "blog_gpt_session_content")
public class GptSessionContent extends MetaObject implements Serializable {

    @TableId
    private String id;

    /**
     * gpt的会话id
     */
    private String sessionId;

    /**
     * 对话角色
     */
    private String role;

    /**
     * 对话内容
     */
    private String content;

    /**
     * gpt的类型
     */
    private String chatType;
}
